﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CheccCoverplateCulvertAssemble.Common.Total
{
    public class CommonCulvertLengthSet: MyNotifyPropertyChanged
    {
        public CommonCulvertLengthSet()
        {
        }
        private double _overHeightIn;
        private double _extensionOut;
        private double _overHeightOut;
        private double _minDistance;
        private double _maxDistance;
        private double _sedimentationWidth;
        private double _baseWidth;

        /// <summary>
        /// 进水口，端墙超出高度
        /// </summary>
        public double OverHeightIn
        {
            get
            {
                return _overHeightIn;
            }
            set
            {
                if (value == _overHeightIn)
                    return;
                _overHeightIn = value;
                NotifyPropertyChanged(() => OverHeightIn);
            }
        }

        /// <summary>
        /// 出水口，外延水平值
        /// </summary>
        public double ExtensionOut
        {
            get
            {
                return _extensionOut;
            }
            set
            {
                if (value == _extensionOut)
                    return;
                _extensionOut = value;
                NotifyPropertyChanged(() => ExtensionOut);
            }
        }

        /// <summary>
        /// 出水口，端墙超出高度
        /// </summary>
        public double OverHeightOut
        {
            get
            {
                return _overHeightOut;
            }
            set
            {
                if (value == _overHeightOut)
                    return;
                _overHeightOut = value;
                NotifyPropertyChanged(() => OverHeightOut);
            }
        }

        /// <summary>
        /// 沉降缝最小间距
        /// </summary>
        public double MinDistance
        {
            get
            {
                return _minDistance;
            }
            set
            {
                if (value == _minDistance)
                    return;
                _minDistance = value;
                NotifyPropertyChanged(() => MinDistance);
            }
        }

        /// <summary>
        /// 沉降缝最大间距
        /// </summary>
        public double MaxDistance
        {
            get
            {
                return _maxDistance;
            }
            set
            {
                if (value == _maxDistance)
                    return;
                _maxDistance = value;
                NotifyPropertyChanged(() => MaxDistance);
            }
        }

        /// <summary>
        /// 涵身沉降缝宽
        /// </summary>
        public double SedimentationWidth
        {
            get
            {
                return _sedimentationWidth;
            }
            set
            {
                if (value == _sedimentationWidth)
                    return;
                _sedimentationWidth = value;
                NotifyPropertyChanged(() => SedimentationWidth);
            }
        }

        /// <summary>
        /// 基础沉降缝宽
        /// </summary>
        public double BaseWidth
        {
            get
            {
                return _baseWidth;
            }
            set
            {
                if (value == _baseWidth)
                    return;
                _baseWidth = value;
                NotifyPropertyChanged(() => BaseWidth);
            }
        }
    }
}
